<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>三小时入门Django</title>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>
</head>
<body>
<div>
    <button type="button" class="btn btn-default"><a href="/blog/index">返回首页</a></button>
</div>
<div class = "container body-main">

      <div >
          <h1>{{curr_article.title}}</h1>
          {% for section in section_list %}
          <p>
              {{section}}
          </p>
          {% endfor %}
      </div>

</div>
<div>
    <nav aria-label="...">
        <ul class="pager">
            <li><a href="/blog/detail/{{previous_article.article_id}}">上一篇{{previous_article.title}}</a></li>
            <li><a href="/blog/detail/{{next_article.article_id}}">下一篇{{next_article.title}}</a></li>
        </ul>
    </nav>
</div>
</body>
</html>
